package com.example.demo.mp.entity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.demo.core.base.BizEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 画布属性和事件类型
 * </p>
 *
 * @author JXY
 * @since 2022-03-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("canvas_event_type")
public class CanvasEventTypeEntity extends BizEntity<CanvasEventTypeEntity> {

    private static final long serialVersionUID = 1L;

    /**
     * 类型名称
     */
    @TableField("name")
    private String name;

    /**
     * 类型 0-系统分类不可删除  1-商户定义的
     */
    @TableField("type")
    private Integer type;

    /**
     * 分类icon
     */
    @TableField("icon")
    private String icon;

    /**
     * 说明
     */
    @TableField("remark")
    private String remark;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
